public class MyObject {
    public static int staticVar;
    public int instanceVar;

    public static void main(String[] args) {
        int x = 32768;
        MyObject myObj = new MyObject();
        MyObject.staticVar = x;
    }
}